package Code.Objects.Effects.Visual.GunfireBursts.Large;

import org.jrabbit.base.managers.ResourceManager;
import org.jrabbit.standard.game.main.world.World;
import org.jrabbit.standard.game.objects.base.Spatial;
import org.newdawn.slick.Color;

import Code.Objects.Effects.Visual.GunfireBursts.GunfireBurst;

public class LargeGunfireBurst1 extends GunfireBurst
{
	public LargeGunfireBurst1(Spatial s, float barrelLength, Color c, World w)
	{
		super(new LargeGunfireBurst1Skin(), s, barrelLength + 26, w);
		color.set(c);
		scalar.setFlipVertically(ResourceManager.random().nextBoolean());
	}
	
	public LargeGunfireBurst1(Spatial s, float barrelLength, World w)
	{
		this(s, barrelLength, new Color(1f, 1f, 0), w);
	}
	
	public LargeGunfireBurst1(Spatial s, World w)
	{
		this(s, 0, new Color(1f, 0.8f, 0), w);
	}
}
